crPEDateToYearMonthDay

The crPEDateToYearMonthDay function takes a date value and returns the year, month, and day as separate values.

Declare Function crPEDateToYearMonthDay Lib "crwrap32.dll" (ByVal nDate 
As Long, ByRef nYear As Integer, ByRef nMonth As Integer, ByRef nDay As 
Integer) As Integer
Parameters

nDate

Specifies the date value.

nYear

The variable to receive the year value.

nMonth

The variable to receive the month value.

nDay

The variable to receive the day value.

Return Value

TRUE (1) if the call is successful, FALSE (0) if the call fails.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com